﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="XWord.Fundamental.Domain" namespace="XWord.Fundamental.Domain">
  <class name ="Alphabet">
    <id name="Id" column="Id">
      <generator class="guid.comb"/>
    </id>

    <property name="Name"/>
    <property name="PronounceRule"/>
    <property name="Etymon"/>
    <!--<property name="CategoryType" not-null="false"/>-->

    <!--<set name="Words" table="CategoryWord" lazy="true">
      <key column="CategoryId"/>
      <many-to-many column="WordId" 
       unique="true"
       class="Word"/>
    </set>

    <set name="Etyma" table="CategoryEtyma" lazy="true">
      <key column="CategoryId"/>
      <many-to-many column="EtymaId"
       class="Etyma"/>
    </set>-->
  </class>
</hibernate-mapping>